QName (Java(TM) Web Services Developer Pack (Version 1.5))

您所在的位置:网站首页 webservice qname QName (Java(TM) Web Services Developer Pack (Version 1.5))

QName (Java(TM) Web Services Developer Pack (Version 1.5))

2023-03-12 03:39| 来源: 网络整理| 查看: 265

QName derived from parsing the formatted String.

If the String is null or does not conform to QName.toString() formatting, an IllegalArgumentException is thrown.

The String MUST be in the form returned by QName.toString(). There is NO standard specification for representing a QName as a String. The String format is NOT portable across implementations and will change when a standard String representation is defined. This implementation currently parses a String formatted as: "{" + Namespace URI + "}" + local part. If the Namespace URI .equals(""), only the local part should be provided.

The prefix value CANNOT be represented in the String and will be set to ""

This method does not do full validation of the resulting QName. In particular, the local part is not validated as a NCName as specified in Namespaces in XML.

Parameters:qNameAsString - String representation of the QName Returns:QName corresponding to the given StringSee Also:QName.toString()


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3